﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using CDStore3Tiers;

namespace CuaHangDiaNhac
{
    public partial class InHoaDon : DevComponents.DotNetBar.Metro.MetroForm
    {
        int id;
        public InHoaDon(int ID)
        {
            InitializeComponent();
            this.id = ID;
        }

        private void InHoaDon_Load(object sender, EventArgs e)
        {
            vwChiTietHoaDonBindingSource.DataSource = XuLyHoaDon.GetChiTietByID(id);
            this.reportViewer1.RefreshReport();
        }
    }
}
